package com.bins.dentist.clinic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author bins
 * @since 2023-04-23 13:22:36
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_dict")
@ApiModel(value = "DictEntity对象", description = "字典表")
public class DictEntity {

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("字典类型id")
    @TableField("dict_type_id")
    private Long dictTypeId;

    @ApiModelProperty("字典编码")
    @TableField("dict_code")
    private String dictCode;

    @ApiModelProperty("字典名称")
    @TableField("dict_name")
    private String dictName;

    @ApiModelProperty("诊所id")
    @TableField("clinic_id")
    private Long clinicId;

    @ApiModelProperty("0:未删除 1:已删除")
    @TableField("is_del")
    private Integer isDel;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private Long createBy;

    @ApiModelProperty("创建人")
    @TableField("create_name")
    private String createName;

    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("修改人")
    @TableField("update_by")
    private Long updateBy;

    @ApiModelProperty("修改人")
    @TableField("update_name")
    private String updateName;

    @TableField("update_time")
    private LocalDateTime updateTime;


}
